division of algebraic fractions